<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    const userName=prompt("请输入您的姓名")
    const userAge=prompt("请输入您的年龄")
    const userGender=prompt("请输入您的性别")

    document.write(`<p>姓名：${userName}</p>`)
    document.write(`<p>年龄：${userAge}</p>`)
    document.write(`<p>性别${userGender}</p>`)

</script>
</body>
</html>